//
//  download.m
//  网易新闻
//
//  Created by mac on 16/7/21.
//  Copyright © 2016年 xbk. All rights reserved.
//

#import "download.h"
#import <AFNetworking.h>

@implementation download

static id _instancetype;

+(instancetype)sharedownload{

    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        NSURL *baseurl = [NSURL URLWithString:@"http://c.m.163.com/nc/"];
        _instancetype = [[self alloc]initWithBaseURL:baseurl];
    });
    return _instancetype;
}

@end
